package com.theaf.core.utils;


import com.theaf.core.api.ParameterService;

/**
 * 参数帮助类
 */
public class ParameterHelper {

	public static String getParameterValue(String key)
	{
		ParameterService ps = (ParameterService)SpringUtils.getDubboService(ParameterService.class);
		return ps.findNameByKey(key);
	}

	public static String getParameterRemark(String key){
		ParameterService ps = (ParameterService)SpringUtils.getDubboService(ParameterService.class);
		return ps.findRemarkByKey(key);
	}
	
}
